package Flyweight;

public class Piece extends AbstractPiece{

    public Piece(String kind)
    {
        super(kind);
    }

    @Override
    public void play(int x, int y) {
        System.out.println("将" + kind + "放在(" + x + "," + y + ")的位置");
    }
}
